/*==========================================================================*\
|| ######################################################################## ||
|| #      # ||
|| # Copyright (C) 2005 by Andree Haupt (PcFreak), All rights reserved.   # ||
|| # Email: vb3statistic@at-lantis.de	                                                      # ||
|| # Support thread available at: http://at-lantis.de                                           # ||
|| #    : http://www.alofuq.net/vb/statistic.php                               # ||
|| #                                                                                          # ||
|| #    3.0.0  3.0.0  3.0.4  3.0.5 3.0.6  100%            # ||
|| #                                                                                    # ||
|| # ALOFUQ.NET       : http://www.alofuq.net                                                    # ||
|| ######################################################################## ||
\*==========================================================================*/

    

       
------------------------------------------------------------------------------

1.    :   /

	-       .
	-      .
	-      .
	-       .
	-      .
	-        PHP .
	-      .
	-           .
	-        .
	-         .
	-              .
	-        .
	-             .
	-      .
	-          .
	-          .
	-          .
	-           .
	-          .


	
2.   /   :   /

	-       .
	-        .
	-     WAP    .
	-         .

	
3.       :    /

	-       .
	-        .
	-        .
	-         .
	
4.    :    /

	-         .
	-         .
	-       .
	-            .


5.    :    /

	-         .
	-         .


6.   :   /

	-        .
	-       .
	-           .

	
7.         :   /

	-       :
		-  
		- 
		-  
		- 
		-  
		-  
		-  
		-   
		-    

	-    :
		-   (32 )
		-   (24 )
		-    (16 )
		- 256 

	-    :
		-      .

	-        .



8.     :   /
	-       
		-   
		- 
		-  
		-  
		-   
		-    
		-    
		-  

	-   

		-        (  -   )

--------------------------------------------------------------------
	
*******************************************
**    **
*******************************************

==============================
==      ==
==============================
-----------------------
  :
-----------------------
admincp/index.php

-----------------------
    :
-----------------------
  547 
	$printhr = false;
	if (can_administer('canadminstyles'))
	{
	
-----------------------
    :
-----------------------

	//#####    -   #####
		$printhr = true;
	construct_nav_option($vbphrase['vbstatistic_admin_index_general'],'statistic_admin.php?do=statistic_setting_general','<br />');		
	construct_nav_option($vbphrase['vbstatistic_admin_index_tld'],'statistic_admin.php?do=statistic_setting_limits','<br />');
	construct_nav_option($vbphrase['vbstatistic_admin_index_browser'],'statistic_admin.php?do=statistic_setting_limits_a','<br />');
	construct_nav_option($vbphrase['vbstatistic_admin_index_spider'],'statistic_admin.php?do=statistic_setting_limits_b','<br />');
	construct_nav_option($vbphrase['vbstatistic_admin_index_maintenance'],'statistic_admin.php?do=statistic_maintenance','<br />');	
	construct_nav_group($vbphrase['vbstatistic_admin_index_setting']);
	//#####    -   #####

----------------------------------------------	
      .
----------------------------------------------

==============================
==    ==
==============================
**      **
   vb     :

vb/statistic.php
vb/statistic_counter.php
vb/statistic_java_counter.php

admincp/statistic_admin.php
admincp/statistic_database_install.php
admincp/statistic_inserts_install.php
admincp/statistic_install.php
admincp/statistic_phrasen_install.php
admincp/statistic_templates_install.php
admincp/statistic_install_phrasen.xml
admincp/statistic_install_templates.php

clientscript/statistic_java.js

includes/cron/statisticupdate.php

   statistic        :
vb/statistic

     

==============================
==    ==
==============================

    statistic_install.php          

e.g. (http://yourdomain.com/forum/admincp/statistic_install.php)

            

         :
- statistic_database_install.php
- statistic_inserts_install.php
- statistic_install.php
- statistic_phrasen_install.php
- statistic_templates_install.php
- statistic_install_phrasen_english.xml
- statistic_install_templates.xml

==============================
==     ==
==============================

              
         .

  : 
           .

==============================
==     ==
==============================


    >>   ( Scheduled Tasks )

     ( Add New Scheduled Task )       

-  : ( Titel ):    
-    ( Day of the Week  ) :  *
-    ( Day of the Month ) : *
-  ( Hour ) : *
 ( Minute ) :    95
  ( Log Entries ) :            .
-   ( Filename ) : 
./includes/cron/statisticupdate.php


==============================
==    ==
==============================

      
---------------------------------------------------------------------
6.1)   " headinclude "     .
         .
---------------------------------------------------------------------

<script type="text/javascript" src="clientscript/statistic_java.js"></script>

---------------------------------------------------------------------
6.2)   " phpinclude_start "     .
         .
---------------------------------------------------------------------

include("./statistic_counter.php");

--------------
 :
--------------
    CSS           

***************************************************
**        **
***************************************************

       :
http://my-domain.com/vb/statistic.php 


---------------------------------------------------------------------

       


###############################################
##############   ############
###############################################

*******************************************
**        **
*******************************************

   6         .

    statistic_install.php            

e.g. (http://yourdomain.com/forum/admincp/statistic_install.php)

                   :

 phpinclude_start      
 : headinclude      
  statisticupdate.php     includes/cron/ 

            
Redo step 4 and remove the lines from admincp/index.php


######################################################################
**********************************************************************
**              **
**********************************************************************
######################################################################
-----------------------
   : :
-----------------------
statistic_counter.php

-----------------------
     : 
-----------------------

//#########################################################################################################		
//Um weitere Domains auszuschliessen dieses Format benutzen

-----------------------
   :
-----------------------

if (strpos(strtolower($DER_REFERER), "your-new-excluded-domain.com") === false)

-----------------------
  :
-----------------------
    http://   ,   
           http://   .

 : 
if (strpos(strtolower($DER_REFERER), "swalif.com") === false)

if (strpos(strtolower($DER_REFERER), "alofuq.net") === false)


######################################
**************************************
**    "   " " Who is Online "  **
**************************************
######################################

-----------------------
  : 
-----------------------
includes/functions_online.php

-----------------------
   :
-----------------------

default: 
if ($permissions['wolpermissions'] & CANWHOSONLINEBAD) 
{

-----------------------
    :
-----------------------


// #####   ##### 
    case 'statistic':
			$userinfo['action'] = 'Views the vBStatistics 3.0';
			$userinfo['where'] = "<a href=\"statistic.php?$session[sessionurl]\" title=\"Statistics\">$vboptions[bbtitle] Statistics</a>";
		break;
// #####   ##### 

-----------------------
   :
-----------------------

default: 
$userinfo['activity'] = 'unknown'; 
} 

return $userinfo; 

-----------------------
    :
-----------------------

// #####   ##### 
case 'statistic.php': 
$userinfo['activity'] = 'statistic'; 
break; 

----------------------------------------------	
       .
----------------------------------------------

########################################################
********************************************************
**      **
********************************************************
########################################################

-----------------------
  :
-----------------------
includes/adminfunctions_template.php

-----------------------
    :
-----------------------

'subscription' => $vbphrase['group_paid_subscriptions'],

-----------------------
    :
-----------------------

'statistic' => 'vB Statistics 3',

----------------------------------------------	
       .
----------------------------------------------

########################################
****************************************
**           " Navigationbar "  **
****************************************
########################################

-------------------------------------------------------
        :
 &  ( Languages & Phrases )
	-  &  ( Languages & Phrases )
		- -    ( Add New Phrase )
Add a new phrase in Admincp as Global Phrase (phrasetypeid = 1)
-------------------------------------------------------
 Phrase Type = Global
Variablenname = vbstatistic_string_statistic
Text = 

-----------------------
    : 
-----------------------

    navbar

-----------------------
   :
-----------------------

		<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
		
-----------------------
    :
-----------------------

<!--#####  #####--> 		
		<td class="vbmenu_control"><a href="statistic.php?$session[sessionurl]"></a></td>
<!--#####  #####--> 					
	
----------------------------------------------	
    .
----------------------------------------------